﻿using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace MachineVision.Domain.Migrations
{
    public partial class menu_relationship : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.UpdateData(
                table: "MissionHistoryInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "EndTime", "StartTime" },
                values: new object[] { new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 35, 23, 580, DateTimeKind.Local).AddTicks(7684) });

            migrationBuilder.UpdateData(
                table: "PatrolCars",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreateTime",
                value: new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684));

            migrationBuilder.UpdateData(
                table: "PatrolGroups",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreateTime",
                value: new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684));

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684) });

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 2,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684) });

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 4,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684) });

            migrationBuilder.UpdateData(
                table: "WarningInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "Time" },
                values: new object[] { new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684), new DateTime(2022, 9, 7, 8, 36, 23, 580, DateTimeKind.Local).AddTicks(7684) });
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.UpdateData(
                table: "MissionHistoryInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "EndTime", "StartTime" },
                values: new object[] { new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 34, 56, 304, DateTimeKind.Local).AddTicks(2971) });

            migrationBuilder.UpdateData(
                table: "PatrolCars",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreateTime",
                value: new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971));

            migrationBuilder.UpdateData(
                table: "PatrolGroups",
                keyColumn: "Id",
                keyValue: 1,
                column: "CreateTime",
                value: new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971));

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971) });

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 2,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971) });

            migrationBuilder.UpdateData(
                table: "TemperatureInfos",
                keyColumn: "Id",
                keyValue: 4,
                columns: new[] { "CreateTime", "TempTime" },
                values: new object[] { new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971) });

            migrationBuilder.UpdateData(
                table: "WarningInfos",
                keyColumn: "Id",
                keyValue: 1,
                columns: new[] { "CreateTime", "Time" },
                values: new object[] { new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971), new DateTime(2022, 9, 6, 16, 35, 56, 304, DateTimeKind.Local).AddTicks(2971) });
        }
    }
}
